<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:jsp="http://java.sun.com/jsf/composite" xml:lang="en"
                lang="en"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:a="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich"
        >

    <h:form id="j_spring_security_check">
        <h:panelGroup id="loginPanel" layout="block">
            <h:panelGrid id="loginTable">
                <h:panelGroup id="userNameGr">
                    <h:panelGrid>
                        <h:outputLabel id = "loginLabel" value="Вход на портал"/>
                    </h:panelGrid>
                    <h:panelGrid>
                        <h:outputLabel value="#{i18n.login_username}"/>
                        <h:inputText id="j_username"/>
                    </h:panelGrid>
                </h:panelGroup>
                <h:panelGroup id="userPswdGr">
                    <h:panelGrid>
                        <h:outputLabel value="#{i18n.login_password}"/>
                        <h:inputSecret id="j_password"/>
                    </h:panelGrid>
                </h:panelGroup>
                <h:panelGroup id="remembeMyGroup">
                    <h:panelGrid columns="2">
                        <h:selectBooleanCheckbox id="_spring_security_remember_me"/>
                        <h:outputLabel for="_spring_security_remember_me" value="Запомнить"/>
                    </h:panelGrid>
                </h:panelGroup>
                <h:panelGroup id="userButtonGr">
                    <h:button value="#{i18n.login}"/>
                    <h:outputLink id="forgotPswdLink" value="Забыли пароль?"/>
                </h:panelGroup>
            </h:panelGrid>
        </h:panelGroup>
    </h:form>
</ui:composition>